<?php

include('db.php');

$username=$_POST["username"];
//$password=$_POST["password"];

$db=new db();

$result= $db->query("SELECT * FROM user_message1 WHERE user='$username'");

if(mysql_num_rows($result)==1){
    echo("yo maaannnnn");
}else{
    echo("no its not you");
};
?>
